package com.digiregistry.api.wrapper.model;

import java.io.Serializable;

public class Quota implements Serializable {

	public enum QuotaType { STORAGE, FILES, USERS, TIMESTAMPS }
	public enum QuotaPeriod { INDEFINITE, YEAR, MONTH, DAY }
	
	private QuotaType type;
	private QuotaPeriod period;
	private long limit;
	private long used;
	
	public QuotaType getType() {
		return type;
	}
	public void setType(QuotaType type) {
		this.type = type;
	}
	public QuotaPeriod getPeriod() {
		return period;
	}
	public void setPeriod(QuotaPeriod period) {
		this.period = period;
	}
	public long getLimit() {
		return limit;
	}
	public void setLimit(long limit) {
		this.limit = limit;
	}
	public long getUsed() {
		return used;
	}
	public void setUsed(long used) {
		this.used = used;
	}
	
}
